package com.toycloud.system.mapper.feedback;

import com.toycloud.system.domain.dto.FeedbackUserLabelRecordDTO;
import com.toycloud.system.domain.feedback.FeedbackUserLabelRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FeedbackUserLabelRecordMapper {

    List<FeedbackUserLabelRecordDTO> selectUserLabelDTOByIds(@Param("ids")  String[] ids);

    int insertSelective(FeedbackUserLabelRecord userLabelRecord);

    int deleteByIds(@Param("ids") String[] ids);

    FeedbackUserLabelRecord selectById(Long id);

    int updateByPrimaryKeySelective(FeedbackUserLabelRecord record);

    List<FeedbackUserLabelRecord> selectUserLabelByIds(@Param("ids") String[] ids);

    List<FeedbackUserLabelRecord> selectUserLabelByIdsAndAttitude(@Param("ids") String[] ids,@Param("userAttitudeArr") Integer[] userAttitudeArr);
}
